import request from '@/utils/request'

// 查询大神申请审核列表
export function listUserManitoApply(query) {
  return request({
    url: '/system/userManitoApply/list',
    method: 'get',
    params: query
  })
}

// 查询大神申请审核列表
export function listUserManitoApplyToAccount(accountId) {
  return request({
    url: '/system/userManitoApply/list/' + accountId,
    method: 'get'
  })
}


// 查询大神申请审核详细
export function getUserManitoApply(id) {
  return request({
    url: '/system/userManitoApply/' + id,
    method: 'get'
  })
}

// 新增大神申请审核
export function addUserManitoApply(data) {
  return request({
    url: '/system/userManitoApply',
    method: 'post',
    data: data
  })
}

// 修改大神申请审核
export function updateUserManitoApply(data) {
  return request({
    url: '/system/userManitoApply',
    method: 'put',
    data: data
  })
}

// 删除大神申请审核
export function delUserManitoApply(id) {
  return request({
    url: '/system/userManitoApply/' + id,
    method: 'delete'
  })
}

// 导出大神申请审核
export function exportUserManitoApply(query) {
  return request({
    url: '/system/userManitoApply/export',
    method: 'get',
    params: query
  })
}